projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fcd22f
)
[IA64] Make maximum number of supported physical CPUs a compile-time option
author
Alex Williamson
<alex.williamson@hp.com>
Thu, 17 Jan 2008 19:17:14 +0000
(12:17 -0700)
committer
Alex Williamson
<alex.williamson@hp.com>
Thu, 17 Jan 2008 19:17:14 +0000
(12:17 -0700)
Make maximum number of supported physical CPUs a compile-time
option via the 'max_phys_cpus=<nr>' compilation parameter.
Based on xen-unstable.hg cset 9464:
d7cbcf5d7cd6
Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
xen/include/asm-ia64/config.h
patch
|
blob
|
history
diff --git
a/xen/include/asm-ia64/config.h
b/xen/include/asm-ia64/config.h
index 6872d08dbeab3ebaff950d700f09fa8083878dd7..40a09377edc05d5b7cb49591a35dd2a64746e0d3 100644
(file)
--- a/
xen/include/asm-ia64/config.h
+++ b/
xen/include/asm-ia64/config.h
@@
-25,7
+25,11
@@
#ifdef CONFIG_XEN_SMP
#define CONFIG_SMP 1
#define CONFIG_HOTPLUG_CPU 1
+#ifdef MAX_PHYS_CPUS
+#define NR_CPUS MAX_PHYS_CPUS
+#else
#define NR_CPUS 64
+#endif
#define CONFIG_NUMA
#define CONFIG_ACPI_NUMA
#define NODES_SHIFT 8